<link rel="stylesheet" href="/static/css/cart.css" />
<div class="p-main">
	<div class="container">
		<div class="row">
			<div class="box pay-box">
				<div class="box-head clearfix webfont">
					<h2 class="pull-left">
                        我的订单
					</h2>
				</div>
				<div class="box-body">
					<table class="table table-condensed table-bordered table-striped table-hover">
						<thead>
						  <tr class="th" style="font-size:20px;color:greed">
						    <th width="10%" ><input type="checkbox" ><b>全选</b></th>
							<th width="30%"><b>商品</b></th>
							<th width="20%"><b>数量</b></th>
							<th width="20%"><b>单价</b></th>
							<th width="20%"><b>小计</b></th>
						    </tr>
						</thead>
						<tbody>
						<?php foreach ($cart as $k => $v) { ?>
							<tr>
								<td><input type="checkbox"></td>
								<td><img src="images/img1.jpg"><?php echo $v['course_name'] ?></td>
								<td>1</td>
								<td><?php echo $v['price'] ?></td>
								<td><?php echo $v['price'] ?></td>
							</tr>
							<?php } ?>
						</tbody>
					</table>
					<div class="end-money-box">
						<div id="pay_amount" class="text-right">支付金额：<em class="red"><?php echo $price_amount ?>元</em></div>
						<form action="/index.php/course/order" method="get">
							<input type="hidden" name="order" value="pay">
							<div class="text-right btn-box"><input id="submit_order" type="submit" class="btn" value="&nbsp;&nbsp;&nbsp;&nbsp;提交订单&nbsp;&nbsp;&nbsp;&nbsp;" type="button"></div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
